efa inventory device execute-cli

Runs a specified command on one or more devices.

Syntax

efa inventory device execute-cli [ --ip ip-addr | --fabric fabric-devices | --role role-devices | --command command | --config { config-term | exec-mode }]

Parameters

--command command
Specifies a comma-separated or semicolon-separated list of commands to run on the devices.
--config { config-term | exec-mode }
Indicates whether commands are for config-term or exec-mode. The default value is exec-mode.
--fabric fabric-devices
Specifies all devices in the specified fabric.
--ip ip-addr
Specifies a comma-separated range of device IP addresses. For example: 10.1.1.13,10.1.1.50,10.1.1.101.
--role role-devices
Specifies devices in the fabric, based on their role.

Examples

# efa inventory device execute-cli --ip 10.18.120.187 
--command "Interface ethernet 0/1, no reload-delay enable" --config